import React from "react";
import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
import Home from "./views/Home";
import Login from "./views/Login";
import register from "./views/register";
import NotFound from "./components/NotFound";
function App() {
  return (
    <Router>
      <Switch>
        <Route exact path="/" component={Home} />
        <Route path="/Login" component={Login} />
        <Route path="/register" component={register} />
        <Route component={NotFound} />
      </Switch>
    </Router>
  );
}

export default App;